<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
     <form action="/calc/sum" method="post">
         <h1>计算机</h1>
<!-- 注意需要传参-->
         <span>数字一:</span><input type="text" name="num1"></br>
         <span>数字二:</span><input type="text" name="num2"></br>
         <input type="submit" value="点击相加">
     </form>
</body>
</html>